main()//唐子豪
{
    int n,a,b;
    printf("There are following numbers with 4digits satisfied condition:\n");
    for(n=1000;n<1000;n++){
        a=n/100;
        b=n%100;
        if((a+b)*(a+b)==n)
            printf("%d",n);

}
}